package com.example.libo.huihui.config;

/**
 * Created by lenovo on 2017/1/5.
 */

public class Urls {
    public static final String BASEURL="http://app.huihui.cn/";
    //retrofit
    //晒物一级接口
    public static final String RSHOW="app/shaidan/list?platform=android&system_version=5.1&app_version=3.9.3"
            +"&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    public final static String getShowthing(int page, int lastpubtime) {
        return "app/shaidan/list?page="+page+"&lastpubtime="
                +lastpubtime+"&platform=android&system_version=5.1&app_version=3.9.3" +
                "&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    }
    //资讯一级接口
    public static final String RInformation="app/zixun/list?platform=android&system_version=5.1"
           +"&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor="
           +"market_360&model=PRO+5";

    public final static String getCounsult(int page,int lastshowid){
        return "app/zixun/list?page="+page
                +"&lastshowid="+lastshowid+"&platform=android&system_version=5.1" +
                "&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=" +
                "market_360&model=PRO+5";
    }
    //海淘
    public static final String RShopping_first="app/zixun/list?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    public static final String RShopping_second="app/abroad/banners?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    public static final String COUNSULT = "app/zixun/list?page=0&lastshowid=0&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //海淘上半部分一级接口
    public static final String OVERSEATAO1 = "app/abroad/banners?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //海淘下半部分接口
    public static final String OVERSEATAO2 = "http://app.huihui.cn/app/abroad/bottom_pull?category=all&lastshowtime=1483617200362&interval=4660&page=0&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    //国内头部接口（viewpager+抢时间）
    public static final String DOMESTIC1 = "http://app.huihui.cn/app/inland/banners?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //国内（后半部分的接口）
    public static final String DOMESTIC2 = "app/inland/top_pull?category=all&interval=609624&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    //清单一级接口
    public static final String MANIFEST = "deals/category.json?category=goods_list&with_user=1&with_merchant=1&since_time=0&max_time=0&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    //搜索列表接口
    public static final String SEARCH_LIST = "/hot_suggest/list.json?platform=android&system_version=5.1&app_version=3.9.3&device_id=868773028162546&appname=deals_app&vendor=market_360&model=MX5";

    //搜索结果第一页
    public static final String RESULT_ONE = "/app/search/abroad?page=0&q=%E5%86%B0%E7%AE%B1&platform=android&system_version=5.1&app_version=3.9.3&device_id=868773028162546&appname=deals_app&vendor=market_360&model=MX5";

    //搜索结果第二页
    public static final String RESULT_TWO = "/app/search/inland?page=0&q=%E8%80%90%E5%85%8B&platform=android&system_version=5.1&app_version=3.9.3&device_id=868773028162546&appname=deals_app&vendor=market_360&model=MX5";

    //商品详情的webview
    public static final String PRODUCT_DETAIL = "/app/HuiZixun/39249267.json?platform=android&system_version=5.1&app_version=3.9.3&device_id=868773028162546&appname=deals_app&vendor=market_360&model=MX5";

}
